package com.power.service;

import com.github.pagehelper.PageInfo;
import com.power.model.TActivity;
import com.power.query.ActivityQuery;

public interface ActivityService {
    PageInfo<TActivity> getActivityByPage(Integer currentPage, Integer pageSize, ActivityQuery activityQuery);

    int addActivity(ActivityQuery activityQuery);

    TActivity getActivityDetail(Integer id);

    int editActivity(ActivityQuery activityQuery);
}
